Skip to content

feat: coin control to exchange/swap send flow - #1374

Draft
sneurlax wants to merge 2 commits into
stagingfrom
feat/404-coin-control-swaps
Draft

feat: coin control to exchange/swap send flow#1374
sneurlax wants to merge 2 commits into
stagingfrom
feat/404-coin-control-swaps

Conversation

@sneurlax

Copy link
Copy Markdown
Member

closes #404

@codecov

codecov Bot commented May 28, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 120 lines in your changes missing coverage. Please review.
✅ Project coverage is 4.83%. Comparing base (8208fe7) to head (0ff57c3).
⚠️ Report is 17 commits behind head on staging.

Files with missing lines Patch % Lines
lib/pages/exchange_view/send_from_view.dart 0.00% 65 Missing ⚠️
...exchange_view/exchange_step_views/step_4_view.dart 0.00% 55 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           staging    #1374      +/-   ##
===========================================
- Coverage     4.84%    4.83%   -0.01%     
===========================================
  Files         1092     1092              
  Lines       109141   109230      +89     
===========================================
  Hits          5283     5283              
- Misses      103858   103947      +89     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sneurlax

Copy link
Copy Markdown
Member Author

Converting to draft because I have too many open PRs ready--will take another review pass over this before re-readying it

@sneurlax
sneurlax marked this pull request as draft August 20, 2026 18:58
The dialog popped itself on Cancel, but twelve of its thirteen call
sites already popped in their own onCancel handler, so on mobile Cancel
tore down the dialog and the page behind it. Dismissal now belongs to
the caller, and the exchange step 4 send flow gains the pop it had been
relying on the dialog for.
Adds a "Coin control" row to the mobile exchange step 4 send button and
to each wallet card in the send-from view, backed by a shared module:
a visibility predicate, an amount-plus-fee funding estimate computed at
the same rate the send will use, and a validator that re-reads every
stored output from the database before opening the picker and again
before sending.

Outputs that went missing, changed wallet, were frozen, spent or lost
their confirmations clear the selection; a merely underfunded one is
kept so the user can add more. Firo is excluded.
@sneurlax
sneurlax force-pushed the feat/404-coin-control-swaps branch from 4bf149f to 43528a2 Compare August 24, 2026 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Coin control in swaps & buy

1 participant